{{csrf_field()}}

<div class="layui-form-item">
    <label for="" class="layui-form-label">网站名称</label>
    <div class="layui-input-block">
        <input type="text" name="title" value="{{$link->title??old('title')}}" lay-verify="required" placeholder="请输入网站链接名称" class="layui-input" >
    </div>
</div>

<div class="layui-form-item">
    <label for="" class="layui-form-label">网址</label>
    <div class="layui-input-block">
        <input type="text" name="url" value="{{$link->url??old('url')}}" lay-verify="required" placeholder="请输入网址" class="layui-input" >
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-input-block">
        <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formDemo">确 认</button>
        <a  class="layui-btn" href="{{route('admin.links')}}" >返 回</a>
    </div>
</div>